# 作者 ：longxiaonan@aliyun.com
# 开发时间： 2022/10/17 01基础:19

# 列表存储的是多个对象的引用
a = 10
# list = ['a', 11, 'bb']

list2 = list({33,44,'ff'})

# list2 = list(range(5))

print(list2)

lst = [x*y for x in range(1,5) if x > 2 for y in range(1,4) if y < 3]
print(lst)

for y in range(1,4):
    if y < 3:
        for x in range(1, 5):
            if x > 2:
                print(x*y)

for x in range(1, 5):
    if x > 2:
        for y in range(1, 4):
            if y < 3:
                print(x * y)
print('---------------------------------------------')
for row in  [ [7, 2, 9, 4], [5, 6, 9, 8], [9, 10, 11, 12],]:
    for i in range(4):
        print(row[i])